<template>
    <div id="Tisp">
        <p>{{text}}</p>
        <div @click="close">好的</div>
    </div>
</template>
<script>
export default {
    name:"TipsModel",
    computed:{
		text(){
			return this.$store.getters.Tips;
		}
	},
	methods:{
		close(){
			this.$store.commit("changeTips",{data:''})
		}
	}
}
</script>
